<link rel="stylesheet" type="text/css" href="/Public/client/css/ngDialog.css">
<div class="container ">
    <div class="form-content" ng-controller="postCtr">
        <form name="postForm" ng-submit="save()">
        	<input type="hidden" name="post_admin" name="">
            <div class="form-group">
                <input type="text" class="form-control {{postTitleError}}" placeholder="标题" ng-model="post_title" required>
                <span class="error {{postTitleError}}">{{postTitleError}}</span>
            </div>
            <div class="form-group">
                <select class="form-control {{postTypeError}}" ng-model="post_type" >
                    <option value="">--请选择--</option> 
                    <option ng-repeat="v in post_type_list" value="{{v.type_id}}">{{v.type_name}}</option>   
                </select>
                <span class="error {{postTypeError}}">{{postTypeError}}</span>
            </div>
            <div class="form-group">
            	<script id="editor" type="text/plain" style="width:100%;height:500px;"></script>
            </div>
            <div class="form-group clearfix">           
                <input type="submit" class="pull-right btn btn-primary pl20 pr20" value="发表"/>
            </div>
        </form>
    </div>
</div>

